'use strict';

var course = angular.module('course');

course.factory('CourseService', ['$resource', function ($resource) {
    return $resource('/sumer/course/mainCourse/:userId', {}, {
        query: {method: 'GET', isArray: false}
    });
}]);